package com.youhome.service.mapper;

import com.youhome.service.model.Order;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderMapper {
    int deleteByPrimaryKey(String orderno);

    int insert(Order record);

    int insertSelective(Order record);

    Order selectByPrimaryKey(String orderno);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);

    List<Order> selectByUserID(Long userid);

    Order selectByOrderNo(String orderno);

    int selectStatusByOrderNo(String orderno);
}